package org.baixin.manager.impl;

import org.baixin.dao.RoleDao;
import org.baixin.entity.Role;
import org.baixin.manager.RoleManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

/**
 * 
 * @author slaton.wu@gmail.com
 * @version 1.0
 * @created 2011-6-19 下午02:49:22
 */
@Component
@Transactional
public class RoleManagerImpl extends BaseManagerImpl<Role, Long, RoleDao>
		implements RoleManager {
	
	/**
	 * @param entityDao
	 * @see org.baixin.manager.impl.BaseManagerImpl#setEntityDao(org.baixin.dao.base.HibernateDao)
	 */
	@Override
	@Autowired
	public void setEntityDao(RoleDao entityDao) {
		this.entityDao = entityDao;
	}

}
